﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F2B RID: 3883
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicFinishInfo : IMessage<RogueMagicFinishInfo>, IMessage, IEquatable<RogueMagicFinishInfo>, IDeepCloneable<RogueMagicFinishInfo>, IBufferMessage
	{
		// Token: 0x17003154 RID: 12628
		// (get) Token: 0x0600AE3C RID: 44604 RVA: 0x001D748B File Offset: 0x001D568B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicFinishInfo> Parser
		{
			get
			{
				return RogueMagicFinishInfo._parser;
			}
		}

		// Token: 0x17003155 RID: 12629
		// (get) Token: 0x0600AE3D RID: 44605 RVA: 0x001D7492 File Offset: 0x001D5692
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicFinishInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003156 RID: 12630
		// (get) Token: 0x0600AE3E RID: 44606 RVA: 0x001D74A4 File Offset: 0x001D56A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicFinishInfo.Descriptor;
			}
		}

		// Token: 0x0600AE3F RID: 44607 RVA: 0x001D74AB File Offset: 0x001D56AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicFinishInfo()
		{
		}

		// Token: 0x0600AE40 RID: 44608 RVA: 0x001D74B4 File Offset: 0x001D56B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicFinishInfo(RogueMagicFinishInfo other) : this()
		{
			this.kIHFIIMHNIF_ = ((other.kIHFIIMHNIF_ != null) ? other.kIHFIIMHNIF_.Clone() : null);
			this.kMCCBAHLDFL_ = ((other.kMCCBAHLDFL_ != null) ? other.kMCCBAHLDFL_.Clone() : null);
			this.rogueTournCurInfo_ = ((other.rogueTournCurInfo_ != null) ? other.rogueTournCurInfo_.Clone() : null);
			this.rogueLineupInfo_ = ((other.rogueLineupInfo_ != null) ? other.rogueLineupInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AE41 RID: 44609 RVA: 0x001D7548 File Offset: 0x001D5748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicFinishInfo Clone()
		{
			return new RogueMagicFinishInfo(this);
		}

		// Token: 0x17003157 RID: 12631
		// (get) Token: 0x0600AE42 RID: 44610 RVA: 0x001D7550 File Offset: 0x001D5750
		// (set) Token: 0x0600AE43 RID: 44611 RVA: 0x001D7558 File Offset: 0x001D5758
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJNBGOAJBAL KIHFIIMHNIF
		{
			get
			{
				return this.kIHFIIMHNIF_;
			}
			set
			{
				this.kIHFIIMHNIF_ = value;
			}
		}

		// Token: 0x17003158 RID: 12632
		// (get) Token: 0x0600AE44 RID: 44612 RVA: 0x001D7561 File Offset: 0x001D5761
		// (set) Token: 0x0600AE45 RID: 44613 RVA: 0x001D7569 File Offset: 0x001D5769
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IGDCHFEJDNA KMCCBAHLDFL
		{
			get
			{
				return this.kMCCBAHLDFL_;
			}
			set
			{
				this.kMCCBAHLDFL_ = value;
			}
		}

		// Token: 0x17003159 RID: 12633
		// (get) Token: 0x0600AE46 RID: 44614 RVA: 0x001D7572 File Offset: 0x001D5772
		// (set) Token: 0x0600AE47 RID: 44615 RVA: 0x001D757A File Offset: 0x001D577A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurInfo RogueTournCurInfo
		{
			get
			{
				return this.rogueTournCurInfo_;
			}
			set
			{
				this.rogueTournCurInfo_ = value;
			}
		}

		// Token: 0x1700315A RID: 12634
		// (get) Token: 0x0600AE48 RID: 44616 RVA: 0x001D7583 File Offset: 0x001D5783
		// (set) Token: 0x0600AE49 RID: 44617 RVA: 0x001D758B File Offset: 0x001D578B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo RogueLineupInfo
		{
			get
			{
				return this.rogueLineupInfo_;
			}
			set
			{
				this.rogueLineupInfo_ = value;
			}
		}

		// Token: 0x0600AE4A RID: 44618 RVA: 0x001D7594 File Offset: 0x001D5794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicFinishInfo);
		}

		// Token: 0x0600AE4B RID: 44619 RVA: 0x001D75A4 File Offset: 0x001D57A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicFinishInfo other)
		{
			return other != null && (other == this || (object.Equals(this.KIHFIIMHNIF, other.KIHFIIMHNIF) && object.Equals(this.KMCCBAHLDFL, other.KMCCBAHLDFL) && object.Equals(this.RogueTournCurInfo, other.RogueTournCurInfo) && object.Equals(this.RogueLineupInfo, other.RogueLineupInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AE4C RID: 44620 RVA: 0x001D7624 File Offset: 0x001D5824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.kIHFIIMHNIF_ != null)
			{
				num ^= this.KIHFIIMHNIF.GetHashCode();
			}
			if (this.kMCCBAHLDFL_ != null)
			{
				num ^= this.KMCCBAHLDFL.GetHashCode();
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num ^= this.RogueTournCurInfo.GetHashCode();
			}
			if (this.rogueLineupInfo_ != null)
			{
				num ^= this.RogueLineupInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AE4D RID: 44621 RVA: 0x001D76A2 File Offset: 0x001D58A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AE4E RID: 44622 RVA: 0x001D76AA File Offset: 0x001D58AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AE4F RID: 44623 RVA: 0x001D76B4 File Offset: 0x001D58B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.kIHFIIMHNIF_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.KIHFIIMHNIF);
			}
			if (this.rogueLineupInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.RogueLineupInfo);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.RogueTournCurInfo);
			}
			if (this.kMCCBAHLDFL_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.KMCCBAHLDFL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AE50 RID: 44624 RVA: 0x001D7748 File Offset: 0x001D5948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.kIHFIIMHNIF_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KIHFIIMHNIF);
			}
			if (this.kMCCBAHLDFL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KMCCBAHLDFL);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurInfo);
			}
			if (this.rogueLineupInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueLineupInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AE51 RID: 44625 RVA: 0x001D77D0 File Offset: 0x001D59D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicFinishInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.kIHFIIMHNIF_ != null)
			{
				if (this.kIHFIIMHNIF_ == null)
				{
					this.KIHFIIMHNIF = new OJNBGOAJBAL();
				}
				this.KIHFIIMHNIF.MergeFrom(other.KIHFIIMHNIF);
			}
			if (other.kMCCBAHLDFL_ != null)
			{
				if (this.kMCCBAHLDFL_ == null)
				{
					this.KMCCBAHLDFL = new IGDCHFEJDNA();
				}
				this.KMCCBAHLDFL.MergeFrom(other.KMCCBAHLDFL);
			}
			if (other.rogueTournCurInfo_ != null)
			{
				if (this.rogueTournCurInfo_ == null)
				{
					this.RogueTournCurInfo = new RogueMagicCurInfo();
				}
				this.RogueTournCurInfo.MergeFrom(other.RogueTournCurInfo);
			}
			if (other.rogueLineupInfo_ != null)
			{
				if (this.rogueLineupInfo_ == null)
				{
					this.RogueLineupInfo = new LineupInfo();
				}
				this.RogueLineupInfo.MergeFrom(other.RogueLineupInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AE52 RID: 44626 RVA: 0x001D78A8 File Offset: 0x001D5AA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AE53 RID: 44627 RVA: 0x001D78B4 File Offset: 0x001D5AB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 18U)
				{
					if (num == 10U)
					{
						if (this.kIHFIIMHNIF_ == null)
						{
							this.KIHFIIMHNIF = new OJNBGOAJBAL();
						}
						input.ReadMessage(this.KIHFIIMHNIF);
						continue;
					}
					if (num == 18U)
					{
						if (this.rogueLineupInfo_ == null)
						{
							this.RogueLineupInfo = new LineupInfo();
						}
						input.ReadMessage(this.RogueLineupInfo);
						continue;
					}
				}
				else
				{
					if (num == 42U)
					{
						if (this.rogueTournCurInfo_ == null)
						{
							this.RogueTournCurInfo = new RogueMagicCurInfo();
						}
						input.ReadMessage(this.RogueTournCurInfo);
						continue;
					}
					if (num == 98U)
					{
						if (this.kMCCBAHLDFL_ == null)
						{
							this.KMCCBAHLDFL = new IGDCHFEJDNA();
						}
						input.ReadMessage(this.KMCCBAHLDFL);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400469E RID: 18078
		private static readonly MessageParser<RogueMagicFinishInfo> _parser = new MessageParser<RogueMagicFinishInfo>(() => new RogueMagicFinishInfo());

		// Token: 0x0400469F RID: 18079
		private UnknownFieldSet _unknownFields;

		// Token: 0x040046A0 RID: 18080
		public const int KIHFIIMHNIFFieldNumber = 1;

		// Token: 0x040046A1 RID: 18081
		private OJNBGOAJBAL kIHFIIMHNIF_;

		// Token: 0x040046A2 RID: 18082
		public const int KMCCBAHLDFLFieldNumber = 12;

		// Token: 0x040046A3 RID: 18083
		private IGDCHFEJDNA kMCCBAHLDFL_;

		// Token: 0x040046A4 RID: 18084
		public const int RogueTournCurInfoFieldNumber = 5;

		// Token: 0x040046A5 RID: 18085
		private RogueMagicCurInfo rogueTournCurInfo_;

		// Token: 0x040046A6 RID: 18086
		public const int RogueLineupInfoFieldNumber = 2;

		// Token: 0x040046A7 RID: 18087
		private LineupInfo rogueLineupInfo_;
	}
}
